package com.wxgo.route;

import com.jfinal.config.Routes;
import com.wxgo.controller.admin.AdminController;
import com.wxgo.controller.admin.FmenuController;
import com.wxgo.controller.admin.IndustryController;
import com.wxgo.controller.admin.ModuleController;
import com.wxgo.controller.admin.NewsController;
import com.wxgo.controller.admin.PowerController;
import com.wxgo.controller.admin.RoleController;
import com.wxgo.controller.admin.UserController;

/**
 * @desc 后台管理路由类
 */
public class AdminRoute extends Routes {

	@Override
	public void config() {
		add("/admin/admin", AdminController.class);
		add("/admin/module", ModuleController.class);
		add("/admin/user", UserController.class);
		add("/admin/role", RoleController.class);
		add("/admin/news", NewsController.class);
		add("/admin/power", PowerController.class);
		add("/admin/fmenu", FmenuController.class);
		add("/admin/industry",IndustryController.class);
	}
}
